package com.projectexercise.book.service;

import com.projectexercise.book.mapper.UserInfoMapper;
import com.projectexercise.book.model.UserInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService {
    @Autowired
    private UserInfoMapper mapper;
    public UserInfo getUserInfoByName(String username){
        return mapper.getUserInfoByName(username);
    }
}
